package org.example.mpdemo1.entity;

import java.sql.Timestamp;

//用于容纳可预约设备的信息 仪器id、仪器名称、仪器种类、设备状态（str 空闲/使用中）、开始时间、结束时间、仪器ip
public class InstruRes {
    private Integer instrumentId;
    private String instrumentName;
    private String instrumentType;
    private String instrumentState;
    private String startTime;
    private String endTime;
    private String instrumentIp;
    private Timestamp startTimeStamp;
    private Timestamp endTimeStamp;

    public Timestamp getStartTimeStamp() {
        return startTimeStamp;
    }

    public void setStartTimeStamp(Timestamp startTimeStamp) {
        this.startTimeStamp = startTimeStamp;
    }

    public Timestamp getEndTimeStamp() {
        return endTimeStamp;
    }

    public void setEndTimeStamp(Timestamp endTimeStamp) {
        this.endTimeStamp = endTimeStamp;
    }

    public Integer getInstrumentId() {
        return instrumentId;
    }

    public void setInstrumentId(Integer instrumentId) {
        this.instrumentId = instrumentId;
    }

    public String getInstrumentName() {
        return instrumentName;
    }

    public void setInstrumentName(String instrumentName) {
        this.instrumentName = instrumentName;
    }

    public String getInstrumentType() {
        return instrumentType;
    }

    public void setInstrumentType(String instrumentType) {
        this.instrumentType = instrumentType;
    }

    public String getInstrumentState() {
        return instrumentState;
    }

    public void setInstrumentState(String instrumentState) {
        this.instrumentState = instrumentState;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getInstrumentIp() {
        return instrumentIp;
    }

    public void setInstrumentIp(String instrumentIp) {
        this.instrumentIp = instrumentIp;
    }

    @Override
    public String toString() {
        return "InstruRes{" +
                "instrumentId=" + instrumentId +
                ", instrumentName='" + instrumentName + '\'' +
                ", instrumentType='" + instrumentType + '\'' +
                ", instrumentState='" + instrumentState + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", instrumentIp='" + instrumentIp + '\'' +
                ", startTimeStamp=" + startTimeStamp +
                ", endTimeStamp=" + endTimeStamp +
                '}';
    }
}
